3.120 \(\int \frac{x^4 (4+x^2+3 x^4+5 x^6)}{(3+2 x^2+x^4)^3} \, dx\)

Optimal. Leaf size=238 \[ \frac{x \left (238-59 x^2\right )}{64 \left (x^4+2 x^2+3\right )}-\frac{25 x \left (x^2+3\right )}{16 \left (x^4+2 x^2+3\right )^2}+\frac{1}{512} \sqrt{3 \left (48835+32827 \sqrt{3}\right )} \log \left (x^2-\sqrt{2 \left (\sqrt{3}-1\right )} x+\sqrt{3}\right )-\frac{1}{512} \sqrt{3 \left (48835+32827 \sqrt{3}\right )} \log \left (x^2+\sqrt{2 \left (\sqrt{3}-1\right )} x+\sqrt{3}\right )-\frac{1}{256} \sqrt{3 \left (32827 \sqrt{3}-48835\right )} \tan ^{-1}\left (\frac{\sqrt{2 \left (\sqrt{3}-1\right )}-2 x}{\sqrt{2 \left (1+\sqrt{3}\right )}}\right )+\frac{1}{256} \sqrt{3 \left (32827 \sqrt{3}-48835\right )} \tan ^{-1}\left (\frac{2 x+\sqrt{2 \left (\sqrt{3}-1\right )}}{\sqrt{2 \left (1+\sqrt{3}\right )}}\right ) \]

[Out]

(-25*x*(3 + x^2))/(16*(3 + 2*x^2 + x^4)^2) + (x*(238 - 59*x^2))/(64*(3 + 2*x^2 + x^4)) - (Sqrt[3*(-48835 + 328
27*Sqrt[3])]*ArcTan[(Sqrt[2*(-1 + Sqrt[3])] - 2*x)/Sqrt[2*(1 + Sqrt[3])]])/256 + (Sqrt[3*(-48835 + 32827*Sqrt[
3])]*ArcTan[(Sqrt[2*(-1 + Sqrt[3])] + 2*x)/Sqrt[2*(1 + Sqrt[3])]])/256 + (Sqrt[3*(48835 + 32827*Sqrt[3])]*Log[
Sqrt[3] - Sqrt[2*(-1 + Sqrt[3])]*x + x^2])/512 - (Sqrt[3*(48835 + 32827*Sqrt[3])]*Log[Sqrt[3] + Sqrt[2*(-1 + S
qrt[3])]*x + x^2])/512

________________________________________________________________________________________

Rubi [A]  time = 0.290093, antiderivative size = 238, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 7, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.226, Rules used = {1668, 1678, 1169, 634, 618, 204, 628} \[ \frac{x \left (238-59 x^2\right )}{64 \left (x^4+2 x^2+3\right )}-\frac{25 x \left (x^2+3\right )}{16 \left (x^4+2 x^2+3\right )^2}+\frac{1}{512} \sqrt{3 \left (48835+32827 \sqrt{3}\right )} \log \left (x^2-\sqrt{2 \left (\sqrt{3}-1\right )} x+\sqrt{3}\right )-\frac{1}{512} \sqrt{3 \left (48835+32827 \sqrt{3}\right )} \log \left (x^2+\sqrt{2 \left (\sqrt{3}-1\right )} x+\sqrt{3}\right )-\frac{1}{256} \sqrt{3 \left (32827 \sqrt{3}-48835\right )} \tan ^{-1}\left (\frac{\sqrt{2 \left (\sqrt{3}-1\right )}-2 x}{\sqrt{2 \left (1+\sqrt{3}\right )}}\right )+\frac{1}{256} \sqrt{3 \left (32827 \sqrt{3}-48835\right )} \tan ^{-1}\left (\frac{2 x+\sqrt{2 \left (\sqrt{3}-1\right )}}{\sqrt{2 \left (1+\sqrt{3}\right )}}\right ) \]

Antiderivative was successfully verified.

[In]

Int[(x^4*(4 + x^2 + 3*x^4 + 5*x^6))/(3 + 2*x^2 + x^4)^3,x]

[Out]

(-25*x*(3 + x^2))/(16*(3 + 2*x^2 + x^4)^2) + (x*(238 - 59*x^2))/(64*(3 + 2*x^2 + x^4)) - (Sqrt[3*(-48835 + 328
27*Sqrt[3])]*ArcTan[(Sqrt[2*(-1 + Sqrt[3])] - 2*x)/Sqrt[2*(1 + Sqrt[3])]])/256 + (Sqrt[3*(-48835 + 32827*Sqrt[
3])]*ArcTan[(Sqrt[2*(-1 + Sqrt[3])] + 2*x)/Sqrt[2*(1 + Sqrt[3])]])/256 + (Sqrt[3*(48835 + 32827*Sqrt[3])]*Log[
Sqrt[3] - Sqrt[2*(-1 + Sqrt[3])]*x + x^2])/512 - (Sqrt[3*(48835 + 32827*Sqrt[3])]*Log[Sqrt[3] + Sqrt[2*(-1 + S
qrt[3])]*x + x^2])/512

Rule 1668

Int[(Pq_)*(x_)^(m_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> With[{d = Coeff[PolynomialRemainde
r[x^m*Pq, a + b*x^2 + c*x^4, x], x, 0], e = Coeff[PolynomialRemainder[x^m*Pq, a + b*x^2 + c*x^4, x], x, 2]}, S
imp[(x*(a + b*x^2 + c*x^4)^(p + 1)*(a*b*e - d*(b^2 - 2*a*c) - c*(b*d - 2*a*e)*x^2))/(2*a*(p + 1)*(b^2 - 4*a*c)
), x] + Dist[1/(2*a*(p + 1)*(b^2 - 4*a*c)), Int[(a + b*x^2 + c*x^4)^(p + 1)*ExpandToSum[2*a*(p + 1)*(b^2 - 4*a
*c)*PolynomialQuotient[x^m*Pq, a + b*x^2 + c*x^4, x] + b^2*d*(2*p + 3) - 2*a*c*d*(4*p + 5) - a*b*e + c*(4*p +
7)*(b*d - 2*a*e)*x^2, x], x], x]] /; FreeQ[{a, b, c}, x] && PolyQ[Pq, x^2] && GtQ[Expon[Pq, x^2], 1] && NeQ[b^
2 - 4*a*c, 0] && LtQ[p, -1] && IGtQ[m/2, 0]

Rule 1678

Int[(Pq_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> With[{d = Coeff[PolynomialRemainder[Pq, a +
b*x^2 + c*x^4, x], x, 0], e = Coeff[PolynomialRemainder[Pq, a + b*x^2 + c*x^4, x], x, 2]}, Simp[(x*(a + b*x^2
+ c*x^4)^(p + 1)*(a*b*e - d*(b^2 - 2*a*c) - c*(b*d - 2*a*e)*x^2))/(2*a*(p + 1)*(b^2 - 4*a*c)), x] + Dist[1/(2*
a*(p + 1)*(b^2 - 4*a*c)), Int[(a + b*x^2 + c*x^4)^(p + 1)*ExpandToSum[2*a*(p + 1)*(b^2 - 4*a*c)*PolynomialQuot
ient[Pq, a + b*x^2 + c*x^4, x] + b^2*d*(2*p + 3) - 2*a*c*d*(4*p + 5) - a*b*e + c*(4*p + 7)*(b*d - 2*a*e)*x^2,
x], x], x]] /; FreeQ[{a, b, c}, x] && PolyQ[Pq, x^2] && Expon[Pq, x^2] > 1 && NeQ[b^2 - 4*a*c, 0] && LtQ[p, -1
]

Rule 1169

Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[a/c, 2]}, With[{r =
Rt[2*q - b/c, 2]}, Dist[1/(2*c*q*r), Int[(d*r - (d - e*q)*x)/(q - r*x + x^2), x], x] + Dist[1/(2*c*q*r), Int[(
d*r + (d - e*q)*x)/(q + r*x + x^2), x], x]]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2
- b*d*e + a*e^2, 0] && NegQ[b^2 - 4*a*c]

Rule 634

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rule 618

Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> Dist[-2, Subst[Int[1/Simp[b^2 - 4*a*c - x^2, x], x]
, x, b + 2*c*x], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rubi steps

\begin{align*} \int \frac{x^4 \left (4+x^2+3 x^4+5 x^6\right )}{\left (3+2 x^2+x^4\right )^3} \, dx &=-\frac{25 x \left (3+x^2\right )}{16 \left (3+2 x^2+x^4\right )^2}+\frac{1}{96} \int \frac{450-750 x^2-672 x^4+480 x^6}{\left (3+2 x^2+x^4\right )^2} \, dx\\ &=-\frac{25 x \left (3+x^2\right )}{16 \left (3+2 x^2+x^4\right )^2}+\frac{x \left (238-59 x^2\right )}{64 \left (3+2 x^2+x^4\right )}+\frac{\int \frac{-9936+18792 x^2}{3+2 x^2+x^4} \, dx}{4608}\\ &=-\frac{25 x \left (3+x^2\right )}{16 \left (3+2 x^2+x^4\right )^2}+\frac{x \left (238-59 x^2\right )}{64 \left (3+2 x^2+x^4\right )}+\frac{\int \frac{-9936 \sqrt{2 \left (-1+\sqrt{3}\right )}-\left (-9936-18792 \sqrt{3}\right ) x}{\sqrt{3}-\sqrt{2 \left (-1+\sqrt{3}\right )} x+x^2} \, dx}{9216 \sqrt{6 \left (-1+\sqrt{3}\right )}}+\frac{\int \frac{-9936 \sqrt{2 \left (-1+\sqrt{3}\right )}+\left (-9936-18792 \sqrt{3}\right ) x}{\sqrt{3}+\sqrt{2 \left (-1+\sqrt{3}\right )} x+x^2} \, dx}{9216 \sqrt{6 \left (-1+\sqrt{3}\right )}}\\ &=-\frac{25 x \left (3+x^2\right )}{16 \left (3+2 x^2+x^4\right )^2}+\frac{x \left (238-59 x^2\right )}{64 \left (3+2 x^2+x^4\right )}+\frac{1}{256} \left (261-46 \sqrt{3}\right ) \int \frac{1}{\sqrt{3}-\sqrt{2 \left (-1+\sqrt{3}\right )} x+x^2} \, dx+\frac{1}{256} \left (261-46 \sqrt{3}\right ) \int \frac{1}{\sqrt{3}+\sqrt{2 \left (-1+\sqrt{3}\right )} x+x^2} \, dx+\frac{1}{256} \left (\sqrt{\frac{3}{2 \left (-1+\sqrt{3}\right )}} \left (46+87 \sqrt{3}\right )\right ) \int \frac{-\sqrt{2 \left (-1+\sqrt{3}\right )}+2 x}{\sqrt{3}-\sqrt{2 \left (-1+\sqrt{3}\right )} x+x^2} \, dx-\frac{1}{256} \left (\sqrt{\frac{3}{2 \left (-1+\sqrt{3}\right )}} \left (46+87 \sqrt{3}\right )\right ) \int \frac{\sqrt{2 \left (-1+\sqrt{3}\right )}+2 x}{\sqrt{3}+\sqrt{2 \left (-1+\sqrt{3}\right )} x+x^2} \, dx\\ &=-\frac{25 x \left (3+x^2\right )}{16 \left (3+2 x^2+x^4\right )^2}+\frac{x \left (238-59 x^2\right )}{64 \left (3+2 x^2+x^4\right )}+\frac{1}{512} \sqrt{146505+98481 \sqrt{3}} \log \left (\sqrt{3}-\sqrt{2 \left (-1+\sqrt{3}\right )} x+x^2\right )-\frac{1}{512} \sqrt{146505+98481 \sqrt{3}} \log \left (\sqrt{3}+\sqrt{2 \left (-1+\sqrt{3}\right )} x+x^2\right )+\frac{1}{128} \left (-261+46 \sqrt{3}\right ) \operatorname{Subst}\left (\int \frac{1}{-2 \left (1+\sqrt{3}\right )-x^2} \, dx,x,-\sqrt{2 \left (-1+\sqrt{3}\right )}+2 x\right )+\frac{1}{128} \left (-261+46 \sqrt{3}\right ) \operatorname{Subst}\left (\int \frac{1}{-2 \left (1+\sqrt{3}\right )-x^2} \, dx,x,\sqrt{2 \left (-1+\sqrt{3}\right )}+2 x\right )\\ &=-\frac{25 x \left (3+x^2\right )}{16 \left (3+2 x^2+x^4\right )^2}+\frac{x \left (238-59 x^2\right )}{64 \left (3+2 x^2+x^4\right )}-\frac{1}{256} \sqrt{3 \left (-48835+32827 \sqrt{3}\right )} \tan ^{-1}\left (\frac{\sqrt{2 \left (-1+\sqrt{3}\right )}-2 x}{\sqrt{2 \left (1+\sqrt{3}\right )}}\right )+\frac{1}{256} \sqrt{3 \left (-48835+32827 \sqrt{3}\right )} \tan ^{-1}\left (\frac{\sqrt{2 \left (-1+\sqrt{3}\right )}+2 x}{\sqrt{2 \left (1+\sqrt{3}\right )}}\right )+\frac{1}{512} \sqrt{146505+98481 \sqrt{3}} \log \left (\sqrt{3}-\sqrt{2 \left (-1+\sqrt{3}\right )} x+x^2\right )-\frac{1}{512} \sqrt{146505+98481 \sqrt{3}} \log \left (\sqrt{3}+\sqrt{2 \left (-1+\sqrt{3}\right )} x+x^2\right )\\ \end{align*}

Mathematica [C]  time = 0.303537, size = 129, normalized size = 0.54 \[ \frac{1}{256} \left (\frac{4 x \left (-59 x^6+120 x^4+199 x^2+414\right )}{\left (x^4+2 x^2+3\right )^2}+\frac{3 \left (174+133 i \sqrt{2}\right ) \tan ^{-1}\left (\frac{x}{\sqrt{1-i \sqrt{2}}}\right )}{\sqrt{1-i \sqrt{2}}}+\frac{3 \left (174-133 i \sqrt{2}\right ) \tan ^{-1}\left (\frac{x}{\sqrt{1+i \sqrt{2}}}\right )}{\sqrt{1+i \sqrt{2}}}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[(x^4*(4 + x^2 + 3*x^4 + 5*x^6))/(3 + 2*x^2 + x^4)^3,x]

[Out]

((4*x*(414 + 199*x^2 + 120*x^4 - 59*x^6))/(3 + 2*x^2 + x^4)^2 + (3*(174 + (133*I)*Sqrt[2])*ArcTan[x/Sqrt[1 - I
*Sqrt[2]]])/Sqrt[1 - I*Sqrt[2]] + (3*(174 - (133*I)*Sqrt[2])*ArcTan[x/Sqrt[1 + I*Sqrt[2]]])/Sqrt[1 + I*Sqrt[2]
])/256

________________________________________________________________________________________

Maple [B]  time = 0.019, size = 418, normalized size = 1.8 \begin{align*}{\frac{1}{ \left ({x}^{4}+2\,{x}^{2}+3 \right ) ^{2}} \left ( -{\frac{59\,{x}^{7}}{64}}+{\frac{15\,{x}^{5}}{8}}+{\frac{199\,{x}^{3}}{64}}+{\frac{207\,x}{32}} \right ) }+{\frac{307\,\ln \left ({x}^{2}+\sqrt{3}-x\sqrt{-2+2\,\sqrt{3}} \right ) \sqrt{-2+2\,\sqrt{3}}\sqrt{3}}{1024}}+{\frac{399\,\ln \left ({x}^{2}+\sqrt{3}-x\sqrt{-2+2\,\sqrt{3}} \right ) \sqrt{-2+2\,\sqrt{3}}}{1024}}+{\frac{ \left ( -614+614\,\sqrt{3} \right ) \sqrt{3}}{512\,\sqrt{2+2\,\sqrt{3}}}\arctan \left ({\frac{2\,x-\sqrt{-2+2\,\sqrt{3}}}{\sqrt{2+2\,\sqrt{3}}}} \right ) }+{\frac{-798+798\,\sqrt{3}}{512\,\sqrt{2+2\,\sqrt{3}}}\arctan \left ({\frac{2\,x-\sqrt{-2+2\,\sqrt{3}}}{\sqrt{2+2\,\sqrt{3}}}} \right ) }-{\frac{23\,\sqrt{3}}{32\,\sqrt{2+2\,\sqrt{3}}}\arctan \left ({\frac{2\,x-\sqrt{-2+2\,\sqrt{3}}}{\sqrt{2+2\,\sqrt{3}}}} \right ) }-{\frac{307\,\ln \left ({x}^{2}+\sqrt{3}+x\sqrt{-2+2\,\sqrt{3}} \right ) \sqrt{-2+2\,\sqrt{3}}\sqrt{3}}{1024}}-{\frac{399\,\ln \left ({x}^{2}+\sqrt{3}+x\sqrt{-2+2\,\sqrt{3}} \right ) \sqrt{-2+2\,\sqrt{3}}}{1024}}+{\frac{ \left ( -614+614\,\sqrt{3} \right ) \sqrt{3}}{512\,\sqrt{2+2\,\sqrt{3}}}\arctan \left ({\frac{2\,x+\sqrt{-2+2\,\sqrt{3}}}{\sqrt{2+2\,\sqrt{3}}}} \right ) }+{\frac{-798+798\,\sqrt{3}}{512\,\sqrt{2+2\,\sqrt{3}}}\arctan \left ({\frac{2\,x+\sqrt{-2+2\,\sqrt{3}}}{\sqrt{2+2\,\sqrt{3}}}} \right ) }-{\frac{23\,\sqrt{3}}{32\,\sqrt{2+2\,\sqrt{3}}}\arctan \left ({\frac{2\,x+\sqrt{-2+2\,\sqrt{3}}}{\sqrt{2+2\,\sqrt{3}}}} \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4*(5*x^6+3*x^4+x^2+4)/(x^4+2*x^2+3)^3,x)

[Out]

(-59/64*x^7+15/8*x^5+199/64*x^3+207/32*x)/(x^4+2*x^2+3)^2+307/1024*ln(x^2+3^(1/2)-x*(-2+2*3^(1/2))^(1/2))*(-2+
2*3^(1/2))^(1/2)*3^(1/2)+399/1024*ln(x^2+3^(1/2)-x*(-2+2*3^(1/2))^(1/2))*(-2+2*3^(1/2))^(1/2)+307/512/(2+2*3^(
1/2))^(1/2)*arctan((2*x-(-2+2*3^(1/2))^(1/2))/(2+2*3^(1/2))^(1/2))*(-2+2*3^(1/2))*3^(1/2)+399/512/(2+2*3^(1/2)
)^(1/2)*arctan((2*x-(-2+2*3^(1/2))^(1/2))/(2+2*3^(1/2))^(1/2))*(-2+2*3^(1/2))-23/32/(2+2*3^(1/2))^(1/2)*arctan
((2*x-(-2+2*3^(1/2))^(1/2))/(2+2*3^(1/2))^(1/2))*3^(1/2)-307/1024*ln(x^2+3^(1/2)+x*(-2+2*3^(1/2))^(1/2))*(-2+2
*3^(1/2))^(1/2)*3^(1/2)-399/1024*ln(x^2+3^(1/2)+x*(-2+2*3^(1/2))^(1/2))*(-2+2*3^(1/2))^(1/2)+307/512/(2+2*3^(1
/2))^(1/2)*arctan((2*x+(-2+2*3^(1/2))^(1/2))/(2+2*3^(1/2))^(1/2))*(-2+2*3^(1/2))*3^(1/2)+399/512/(2+2*3^(1/2))
^(1/2)*arctan((2*x+(-2+2*3^(1/2))^(1/2))/(2+2*3^(1/2))^(1/2))*(-2+2*3^(1/2))-23/32/(2+2*3^(1/2))^(1/2)*arctan(
(2*x+(-2+2*3^(1/2))^(1/2))/(2+2*3^(1/2))^(1/2))*3^(1/2)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{59 \, x^{7} - 120 \, x^{5} - 199 \, x^{3} - 414 \, x}{64 \,{\left (x^{8} + 4 \, x^{6} + 10 \, x^{4} + 12 \, x^{2} + 9\right )}} + \frac{3}{64} \, \int \frac{87 \, x^{2} - 46}{x^{4} + 2 \, x^{2} + 3}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(5*x^6+3*x^4+x^2+4)/(x^4+2*x^2+3)^3,x, algorithm="maxima")

[Out]

-1/64*(59*x^7 - 120*x^5 - 199*x^3 - 414*x)/(x^8 + 4*x^6 + 10*x^4 + 12*x^2 + 9) + 3/64*integrate((87*x^2 - 46)/
(x^4 + 2*x^2 + 3), x)

________________________________________________________________________________________

Fricas [B]  time = 1.8353, size = 2402, normalized size = 10.09 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(5*x^6+3*x^4+x^2+4)/(x^4+2*x^2+3)^3,x, algorithm="fricas")

[Out]

-1/2076490005504*(1914264223824*x^7 - 3893418760320*x^5 + 164728*29095522083^(1/4)*sqrt(3)*(x^8 + 4*x^6 + 10*x
^4 + 12*x^2 + 9)*sqrt(-1603106545*sqrt(3) + 3232835787)*arctan(1/1214880276996365518761363*29095522083^(3/4)*s
qrt(2027822271)*sqrt(2027822271*x^2 + 29095522083^(1/4)*(87*sqrt(3)*sqrt(2)*x + 46*sqrt(2)*x)*sqrt(-1603106545
*sqrt(3) + 3232835787) + 2027822271*sqrt(3))*(46*sqrt(3) + 261)*sqrt(-1603106545*sqrt(3) + 3232835787) - 1/599
105895211053*29095522083^(3/4)*(46*sqrt(3)*x + 261*x)*sqrt(-1603106545*sqrt(3) + 3232835787) - 1/2*sqrt(3)*sqr
t(2) + 1/2*sqrt(2)) + 164728*29095522083^(1/4)*sqrt(3)*(x^8 + 4*x^6 + 10*x^4 + 12*x^2 + 9)*sqrt(-1603106545*sq
rt(3) + 3232835787)*arctan(1/1214880276996365518761363*29095522083^(3/4)*sqrt(2027822271)*sqrt(2027822271*x^2
- 29095522083^(1/4)*(87*sqrt(3)*sqrt(2)*x + 46*sqrt(2)*x)*sqrt(-1603106545*sqrt(3) + 3232835787) + 2027822271*
sqrt(3))*(46*sqrt(3) + 261)*sqrt(-1603106545*sqrt(3) + 3232835787) - 1/599105895211053*29095522083^(3/4)*(46*s
qrt(3)*x + 261*x)*sqrt(-1603106545*sqrt(3) + 3232835787) + 1/2*sqrt(3)*sqrt(2) - 1/2*sqrt(2)) - 6456586110864*
x^3 + 29095522083^(1/4)*(48835*sqrt(3)*sqrt(2)*(x^8 + 4*x^6 + 10*x^4 + 12*x^2 + 9) + 98481*sqrt(2)*(x^8 + 4*x^
6 + 10*x^4 + 12*x^2 + 9))*sqrt(-1603106545*sqrt(3) + 3232835787)*log(2027822271*x^2 + 29095522083^(1/4)*(87*sq
rt(3)*sqrt(2)*x + 46*sqrt(2)*x)*sqrt(-1603106545*sqrt(3) + 3232835787) + 2027822271*sqrt(3)) - 29095522083^(1/
4)*(48835*sqrt(3)*sqrt(2)*(x^8 + 4*x^6 + 10*x^4 + 12*x^2 + 9) + 98481*sqrt(2)*(x^8 + 4*x^6 + 10*x^4 + 12*x^2 +
 9))*sqrt(-1603106545*sqrt(3) + 3232835787)*log(2027822271*x^2 - 29095522083^(1/4)*(87*sqrt(3)*sqrt(2)*x + 46*
sqrt(2)*x)*sqrt(-1603106545*sqrt(3) + 3232835787) + 2027822271*sqrt(3)) - 13432294723104*x)/(x^8 + 4*x^6 + 10*
x^4 + 12*x^2 + 9)

________________________________________________________________________________________

Sympy [A]  time = 0.591851, size = 68, normalized size = 0.29 \begin{align*} - \frac{59 x^{7} - 120 x^{5} - 199 x^{3} - 414 x}{64 x^{8} + 256 x^{6} + 640 x^{4} + 768 x^{2} + 576} + \operatorname{RootSum}{\left (17179869184 t^{4} - 38405406720 t^{2} + 29095522083, \left ( t \mapsto t \log{\left (\frac{10301210624 t^{3}}{6083466813} - \frac{4322999552 t}{2027822271} + x \right )} \right )\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**4*(5*x**6+3*x**4+x**2+4)/(x**4+2*x**2+3)**3,x)

[Out]

-(59*x**7 - 120*x**5 - 199*x**3 - 414*x)/(64*x**8 + 256*x**6 + 640*x**4 + 768*x**2 + 576) + RootSum(1717986918
4*_t**4 - 38405406720*_t**2 + 29095522083, Lambda(_t, _t*log(10301210624*_t**3/6083466813 - 4322999552*_t/2027
822271 + x)))

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (5 \, x^{6} + 3 \, x^{4} + x^{2} + 4\right )} x^{4}}{{\left (x^{4} + 2 \, x^{2} + 3\right )}^{3}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(5*x^6+3*x^4+x^2+4)/(x^4+2*x^2+3)^3,x, algorithm="giac")

[Out]

integrate((5*x^6 + 3*x^4 + x^2 + 4)*x^4/(x^4 + 2*x^2 + 3)^3, x)